package com.lzs.bootsafety.business.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class SysDept{
    private Long deptId;

    private Long parentId;

    private String name;

    private String leader;

    private String email;

    private String mobile;

    private Integer sort;

    private String status;

    private String createPeople;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private Date updateTime;

    private String updatePeople;

    private List<SysDept> children;


}